package com.ruoyi.eqmonitor.service.impl;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ruoyi.eqmonitor.mapper.TzproblemMapper;
import com.ruoyi.eqmonitor.domain.TzProblem;
import com.ruoyi.eqmonitor.service.ITzproblemService;

/**
 * 巡河问题记录Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-06-25
 */
@Service
public class TzproblemServiceImpl extends ServiceImpl<TzproblemMapper,TzProblem> implements ITzproblemService {
    
    @Autowired
    private TzproblemMapper tzproblemMapper;

    @Override
    public TzProblem selectTzproblemByDbid(String id){
        return tzproblemMapper.selectTzproblemByDbid(id);
    }
      
    @Override
    public List<TzProblem> selectTzproblemList(TzProblem tzproblem){
        return tzproblemMapper.selectTzproblemList(tzproblem);
    }
}
